<template>
  <div>
    <p>C 节点</p>
    <hr />
    <children-e v-ant-ref="(c) => setChildrenRef('childrenE', c)" />
  </div>
</template>

<script>
import ChildrenE from "./ChildrenE.vue";

export default {
  components: { ChildrenE },
  inject: {
    setChildrenRef: {
      default: () => {},
    },
  },
};
</script>

<style scoped>
div {
  background-color: pink !important;
  border-radius: 4px;
  padding: 0 10px;
}
</style>
